package com.zx.idc.backend.gui.sys;


import com.zx.idc.backend.gui.common.BasicBaseApi;
import com.zx.idc.backend.gui.common.Result;
import com.zx.idc.ds.sys.entity.SysConfCity;
import com.zx.idc.ds.sys.service.ISysConfCityService;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 城市表 前端控制器
 * </p>
 *
 * @author rxliuli
 * @since 2019-03-13
 */
@RestController
@RequestMapping("/api/sysConfCity")
public class SysConfCityController extends BasicBaseApi<ISysConfCityService, SysConfCity> {

    @GetMapping("/select-list")
    public Result<List<SysConfCity>> list(SysConfCity sysConfCity) {
        return success(service.selectList(sysConfCity));
    }

}

